package com.security.feign;

import com.security.api.R;
import com.security.feign.fallback.TestFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @author cici
 */
@FeignClient(value = "order-service", fallback = TestFallBack.class)
public interface TestOrderFeignClient {

    @GetMapping("/test")
    R<Boolean> testFeign();

}
